<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>添加权限组</title>
<jsp:include page="../../../common/head.jsp">
	 <jsp:param name="_useTree" value="true"/>
</jsp:include>
	<script>
	//页面元素验证
	function checkform()
	{
		var objarr = new Array(
		["funcGroup.funcGroupName","权限组名称","notEmpty",""],
		["funcId","权限组对应的功能点","notEmpty",""]
		);
		
		if(xj.CheckAll(objarr))
		{
			if(confirm("确认保存？"))
				return true;
			else
				return false;
		}
		else
			return false;
	}
	function Fun_close()
	{
		window.top.close();
	}
	function clickEvent(var1)
	{
	}
	</script>
	</head>
	<body>
	<form method="post" action="addFuncGroup.do" onsubmit="return checkform()">
		<div id="body_div">
		<w:ShowTitle name="添加权限组">
		<w:TitleButton funcName="保存" onClickFunction="" urlImg="${ctx}/images/main/save.png" funcType="submit"/>
		</w:ShowTitle>
		<div id="body_content">
			<table width="100%">
				<tr>
					<td>权限组名称</td>
					<td class="left_align"><input type="text" name="funcGroup.funcGroupName" maxlength="25" /></td>
					<td>权限组说明</td>
					<td class="left_align"><input type="text" name="funcGroup.funcGroupDescription" maxlength="100" /></td>
				</tr>
				<tr>
					<td colspan="4" class=" td_title">
						权限分配
					</td>
				</tr>
				<tr>
					<td colspan="4" class="left_align">
						<w:mulitboxtree chooseType="checkbox" returnValue="funcId"
							displayValue="funcName" pidname="funcParentId"
							content="${datalist}" idname="funcId" headValue="0"
							useDblClick="false"></w:mulitboxtree>
					</td>
				</tr>
			</table>
			</div>
			</div>
		</form>
	</body>
</html>
